package com.kgc.scd.service;

import com.kgc.scd.vo.SensitiveWord;

import java.util.List;

/**
 * Created On : 2022/11/12.
 * <p>
 * Author : zhukang
 * <p>
 * Description: 敏感词业务接口
 */
public interface SensitiveWordService {

    /**
     * @author : zhukang
     * @date   : 2022/11/12
     * @param  : []
     * @return : java.util.Set<java.lang.String>
     * @description : 查询所有的敏感词
     */
    List<SensitiveWord> getSensitiveWords();

    /**
     * @author : zhukang
     * @date   : 2022/11/12
     * @param  : [sensitiveType, sensitiveWord]
     * @return : void
     * @description : 添加敏感词
     */
    boolean addSensitiveWord(Integer tid, String word);
}
